package com.ruoyi.ruoyiserver.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.ruoyiserver.domain.PeDataInformation;
import com.ruoyi.ruoyiserver.domain.PeObligeeInformtion;
import com.ruoyi.ruoyiserver.mapper.PeDataInformationMapper;
import com.ruoyi.ruoyiserver.mapper.PeObligeeInformtionMapper;
import com.ruoyi.ruoyiserver.service.IPeDataInformationService;
import com.ruoyi.ruoyiserver.service.IPeObligeeInformtionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class IPeDataInformationServiceImpl extends ServiceImpl<PeDataInformationMapper, PeDataInformation> implements IPeDataInformationService {
    @Resource
    private PeDataInformationMapper peDataInformationMapper;

    @Override
    public List<PeDataInformation> selectPeDataInformationList(PeDataInformation peDataInformation) {
        return peDataInformationMapper.selectPeDataInformationList(peDataInformation);
    }

    @Override
    public PeDataInformation selectPeObligeeInformtionById(String id) {
        return peDataInformationMapper.selectPeObligeeInformtionById(id);
    }
}
